package com.lpf.back.service.interfaces;

import com.lpf.back.domain.Dynamic;
import com.lpf.back.domain.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface OssService {
    /**
     * 上传图片到OSS服务器
     * @return oss服务器图片访问url
     */
    User uploadPic(HttpServletRequest request, MultipartFile file);

    Dynamic dynamic(HttpServletRequest request, MultipartFile picture);

    Dynamic dynamicNoImg(String releaseContent, Integer id);
}
